package com.gm.wholesale.module.order.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;


public class ReviceMoneyReq implements Serializable {

    @SerializedName("paidAmount")
    private String paidAmount;
    @SerializedName("discountAmount")
    private String discountAmount;
    @SerializedName("payment")
    private int payment;
    @SerializedName("items")
    private List<ItemsDTO> items;


    public static class ItemsDTO {
        @SerializedName("orderId")
        private long orderId;
        @SerializedName("version")
        private long version;

        public long getOrderId() {
            return orderId;
        }

        public void setOrderId(long orderId) {
            this.orderId = orderId;
        }

        public long getVersion() {
            return version;
        }

        public void setVersion(long version) {
            this.version = version;
        }
    }

    public String getPaidAmount() {
        return paidAmount;
    }

    public void setPaidAmount(String paidAmount) {
        this.paidAmount = paidAmount;
    }

    public String getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(String discountAmount) {
        this.discountAmount = discountAmount;
    }

    public int getPayment() {
        return payment;
    }

    public void setPayment(int payment) {
        this.payment = payment;
    }

    public List<ItemsDTO> getItems() {
        return items;
    }

    public void setItems(List<ItemsDTO> items) {
        this.items = items;
    }
}
